let routes = [
  {
    path: '/login',
    component: resolve => require(['./views/Login.vue'], resolve),
    name: '',
    hidden: true
  },
  {
    path: '/404',
    component: resolve => require(['./views/404.vue'], resolve),
    name: '',
    hidden: true
  },
  {
    path: '/Admin',
    component: resolve => require(['./views/Home.vue'], resolve),
    name: '模块管理',
    iconCls: 'el-icon-menu',
    children: [
      {
        path: '/Admin/Moudle',
        component: resolve => require(['./views/Admin/Moudle/Moudle.vue'], resolve),
        name: '模块管理'
      }
    ]
  },
  {
    path: '/Admin',
    component: resolve => require(['./views/Home.vue'], resolve),
    name: '考点管理',
    iconCls: 'el-icon-info',
    children: [
      {
        path: '/Admin/Point',
        component: resolve => require(['./views/Admin/Point/Point.vue'], resolve),
        name: '考点管理'
      }
    ]
  },
  {
    path: '/Admin',
    component: resolve => require(['./views/Home.vue'], resolve),
    name: '班级管理',
    iconCls: 'el-icon-arrow-down',
    children: [
      {
        path: '/Admin/Class',
        component: resolve => require(['./views/Admin/Class/Class.vue'], resolve),
        name: '班级管理'
      }
    ]
  },
  {
    path: '/Admin',
    component: resolve => require(['./views/Home.vue'], resolve),
    name: '学生管理',
    iconCls: 'el-icon-tickets',
    children: [
      {
        path: '/Admin/Student',
        component: resolve => require(['./views/Admin/Student/Student.vue'], resolve),
        name: '学生管理'
      }
    ]
  },
  {
    path: '/Admin',
    component: resolve => require(['./views/Home.vue'], resolve),
    name: '教师管理',
    iconCls: 'el-icon-more',
    children: [
      {
        path: '/Admin/Teacher',
        component: resolve => require(['./views/Admin/Teacher/Teacher.vue'], resolve),
        name: '教师管理'
      }
    ]
  },
  {
    path: '/Admin',
    component: resolve => require(['./views/Home.vue'], resolve),
    name: '题目管理',
    iconCls: 'el-icon-view',
    children: [
      {
        path: '/Admin/Title',
        component: resolve => require(['./views/Admin/Title/Title.vue'], resolve),
        name: '题目管理'
      }
    ]
  },
  {
    path: '/Admin',
    component: resolve => require(['./views/Home.vue'], resolve),
    name: '信息管理',
    iconCls: 'el-icon-edit',
    children: [
      {
        path: '/Admin/PersonMsg',
        component: resolve => require(['./views/Admin/Massage/PersonMsg.vue'], resolve),
        name: '个人信息管理'
      },
      {
        path: '/Admin/SystemMsg',
        component: resolve => require(['./views/Admin/Massage/SystemMsg.vue'], resolve),
        name: '系统信息管理'
      }
    ]
  },
  {
    path: '/Teacher',
    component: resolve => require(['./views/Home.vue'], resolve),
    name: '学生管理',
    iconCls: 'el-icon-tickets',
    children: [
      {
        path: '/Teacher/Student',
        component: resolve => require(['./views/Teacher/Student/Student.vue'], resolve),
        name: '学生管理',
        children: [
          {
            path: '/Teacher/Student/CheckStudent',
            component: resolve => require(['./views/Teacher/Student/CheckStudent.vue'], resolve)
          }
        ]
      }
    ]
  },
  {
    path: '/Teacher',
    component: resolve => require(['./views/Home.vue'], resolve),
    name: '组卷管理',
    iconCls: 'el-icon-menu',
    children: [
      {
        path: '/Teacher/Moudle',
        component: resolve => require(['./views/Teacher/Moudle/Moudle.vue'], resolve),
        name: '组卷管理'
      }
    ]
  },
  {
    path: '/Teacher',
    component: resolve => require(['./views/Home.vue'], resolve),
    name: '知识点管理',
    iconCls: 'el-icon-tickets',
    children: [
      {
        path: '/Teacher/Point',
        component: resolve => require(['./views/Teacher/Point/Point.vue'], resolve),
        name: '知识点管理'
      }
    ]
  },
  {
    path: '/Teacher',
    component: resolve => require(['./views/Home.vue'], resolve),
    name: '学习情况管理',
    iconCls: 'el-icon-view',
    children: [
      {
        path: '/Teacher/Performance',
        component: resolve => require(['./views/Teacher/Performance/Performance.vue'], resolve),
        name: '学习情况管理'
      }
    ]
  },
  {
    path: '/Teacher',
    component: resolve => require(['./views/Home.vue'], resolve),
    name: '信息管理',
    iconCls: 'el-icon-edit',
    children: [
      {
        path: '/Teacher/PersonMsg',
        component: resolve => require(['./views/Teacher/Massage/PersonMsg.vue'], resolve),
        name: '个人信息管理'
      },
      {
        path: '/Teacher/SystemMsg',
        component: resolve => require(['./views/Teacher/Massage/SystemMsg.vue'], resolve),
        name: '系统信息管理'
      }
    ]
  },
  {
    path: '/Student',
    component: resolve => require(['./views/Home.vue'], resolve),
    name: '信息管理',
    iconCls: 'el-icon-edit',
    children: [
      {
        path: '/Student/PersonMsg',
        component: resolve => require(['./views/Student/Massage/PersonMsg.vue'], resolve),
        name: '个人信息管理'
      },
      {
        path: '/Student/SystemMsg',
        component: resolve => require(['./views/Student/Massage/SystemMsg.vue'], resolve),
        name: '系统信息管理'
      }
    ]
  }
]

export default routes
